package com.nms.service.impl;

import com.nms.dao.CKEditorDao;
import com.nms.service.CKEditorService;

public class CKEditorServiceImpl implements CKEditorService {

	private CKEditorDao ckEditorDao;
	public CKEditorDao getCkEditorDao() {
		return ckEditorDao;
	}

	public void setCkEditorDao(CKEditorDao ckEditorDao) {
		this.ckEditorDao = ckEditorDao;
	}

	@Override
	public String getContent(String id) {
		return ckEditorDao.getContent(id);
	}

	@Override
	public void saveContent(String id, String content) {
		ckEditorDao.saveContent(id, content);
	}

	@Override
	public void deleteContent(String id) {
		ckEditorDao.deleteContent(id);
	}

	@Override
	public void save(String url, String content) {
		ckEditorDao.save(url, content);
	}

	@Override
	public String get(String url) {
		return ckEditorDao.get(url);
	}

	@Override
	public void delete(String url) {
		ckEditorDao.delete(url);
	}

}
